Hello and welcome to this lecture.
In this lecture.
I will be showing you here tore off the contact form.
We are going to create and I will show you all soon how it stores data is a local story.
This is the form we are going to create.
The contact form.
So what I'm going to do is illustrate my works are just type in some details.
So always got to name how just typing discount
stuff.
Okay.
And then the e-mail I just say
You damie
at discount
dot com.
And in here message can just say this account
come in soon
and then send it notice I've sent it.
The details are still on the screen.
So I used see resaid to Claire.
So notice the name there.
This account master who they did this account called the spelling on why doesn't matters just say lustration
purpose.
And then I click reset to clear the screen.
So now let's have a look at where the data has been stored.
So to access the local storage in a computer just to F 12 on your keyboard and it should bring up a
console like this.
So a few I am on croome I'm using Google Chrome at the moment but most web browsers should have the
same functionality.
So click on resources and their ways.
Local storage.
Click to expand that and then click on file.
See that Click on far you see the sessions.
This is what we've just submitted.
The email was this the message was this the name was this account master.
When you storing a local will where you use a local story.
It uses what is known as a key value pair so every key must have a pair which is a value.
So the email is the key and the value is the content has been submitted.
So this the this has the data.
If I close my web browser open it again this data here will still be there.
Okay so alas what the local It is here for.
So most modern web browsers should have a local storage facility where I saw one going to one to close
a web browser.
Hope on it again.
And today you can see that the data is still there.
Alright let me close the web browser slightly context to exid that and close that.
Okay so I just realized it you can see it is empty.
So your feigel 12th the date and you still be there.
So I'll just expand that far.
You can see the Datai still there.
So we're going to use javascript to implement the local storage so that it sits for this lecture.
Thanks for watching.
Bye for now.